Bug 596125 — Property string fixes
authorPhilip Withnall <philip@tecnocode.co.uk>
Tue, 10 Aug 2010 08:23:49 +0000 (09:23 +0100)
committerPhilip Withnall <philip@tecnocode.co.uk>
Tue, 10 Aug 2010 08:23:49 +0000 (09:23 +0100)
15 files changed:
gtk/gtkcellrendererspin.c
gtk/gtkcellrenderertext.c
gtk/gtkcolorbutton.c
gtk/gtkentry.c
gtk/gtkfilechooser.c
gtk/gtknotebook.c
gtk/gtkplug.c
gtk/gtkprintunixdialog.c
gtk/gtkprogressbar.c
gtk/gtkspinbutton.c
gtk/gtkstatusicon.c
gtk/gtktoggleaction.c
gtk/gtktogglebutton.c
gtk/gtktoggletoolbutton.c
gtk/gtkwidget.c

index 536152d65c53bee86e1590b369025b200b00375c..b7f589e285abc08961353bb5112215d23d554e77 100644 (file)
@@ -89,7 +89,7 @@ gtk_cell_renderer_spin_class_init (GtkCellRendererSpinClass *klass)
                                   PROP_ADJUSTMENT,
                                   g_param_spec_object ("adjustment",
                                                        P_("Adjustment"),
-                                                       P_("The adjustment that holds the value of the spinbutton."),
+                                                       P_("The adjustment that holds the value of the spin button"),
                                                        GTK_TYPE_ADJUSTMENT,
                                                        GTK_PARAM_READWRITE));
 
index 46c5211326319bead65f7c919618cced57bfac05..435bb3dfd4346cdce433a389102740b57fd76faa 100644 (file)
@@ -238,7 +238,7 @@ gtk_cell_renderer_text_class_init (GtkCellRendererTextClass *class)
                                    PROP_SINGLE_PARAGRAPH_MODE,
                                    g_param_spec_boolean ("single-paragraph-mode",
                                                          P_("Single Paragraph Mode"),
-                                                         P_("Whether or not to keep all text in a single paragraph"),
+                                                         P_("Whether to keep all text in a single paragraph"),
                                                          FALSE,
                                                          GTK_PARAM_READWRITE));
 
index a164caf508da13ebac758ab0e9b5cd5c2803ac80..24bb047d9ad34f0ac5978a9962180a4955f74733 100644 (file)
@@ -157,7 +157,7 @@ gtk_color_button_class_init (GtkColorButtonClass *klass)
   g_object_class_install_property (gobject_class,
                                    PROP_USE_ALPHA,
                                    g_param_spec_boolean ("use-alpha", P_("Use alpha"), 
-                                                         P_("Whether or not to give the color an alpha value"),
+                                                         P_("Whether to give the color an alpha value"),
                                                          FALSE,
                                                          GTK_PARAM_READWRITE));
 
index fc0cf13bd1559f14456db8a452d5aa722e55081e..723098e8528080ec0feaf6d8a30b95788b9e9e99 100644 (file)
@@ -832,8 +832,8 @@ gtk_entry_class_init (GtkEntryClass *class)
   g_object_class_install_property (gobject_class,
                                    PROP_INVISIBLE_CHAR_SET,
                                    g_param_spec_boolean ("invisible-char-set",
-                                                         P_("Invisible char set"),
-                                                         P_("Whether the invisible char has been set"),
+                                                         P_("Invisible character set"),
+                                                         P_("Whether the invisible character has been set"),
                                                          FALSE,
                                                          GTK_PARAM_READWRITE));
 
index 28f9f0c6d6f9819c616e7943a21f5de07be89411..3dbcfaa41471b3485662cba0b30665ca142d885e 100644 (file)
@@ -838,7 +838,7 @@ gtk_file_chooser_class_init (gpointer g_iface)
    */
   g_object_interface_install_property (g_iface,
                                       g_param_spec_boolean ("create-folders",
-                                                            P_("Allow folders creation"),
+                                                            P_("Allow folder creation"),
                                                             P_("Whether a file chooser not in open mode "
                                                                "will offer the user to create new folders."),
                                                             TRUE,
index 8fce95555bc9d02037504a251821f3cd15abbdb8..44d1c9a1d6e6e9fc73d8054902e59e39b5a31bed 100644 (file)
@@ -618,14 +618,14 @@ gtk_notebook_class_init (GtkNotebookClass *class)
                                   PROP_SHOW_TABS,
                                   g_param_spec_boolean ("show-tabs",
                                                         P_("Show Tabs"),
-                                                        P_("Whether tabs should be shown or not"),
+                                                        P_("Whether tabs should be shown"),
                                                         TRUE,
                                                         GTK_PARAM_READWRITE));
   g_object_class_install_property (gobject_class,
                                   PROP_SHOW_BORDER,
                                   g_param_spec_boolean ("show-border",
                                                         P_("Show Border"),
-                                                        P_("Whether the border should be shown or not"),
+                                                        P_("Whether the border should be shown"),
                                                         TRUE,
                                                         GTK_PARAM_READWRITE));
   g_object_class_install_property (gobject_class,
@@ -682,14 +682,14 @@ gtk_notebook_class_init (GtkNotebookClass *class)
                                              CHILD_PROP_TAB_EXPAND,
                                              g_param_spec_boolean ("tab-expand", 
                                                                    P_("Tab expand"), 
-                                                                   P_("Whether to expand the child's tab or not"),
+                                                                   P_("Whether to expand the child's tab"),
                                                                    FALSE,
                                                                    GTK_PARAM_READWRITE));
   gtk_container_class_install_child_property (container_class,
                                              CHILD_PROP_TAB_FILL,
                                              g_param_spec_boolean ("tab-fill", 
                                                                    P_("Tab fill"), 
-                                                                   P_("Whether the child's tab should fill the allocated area or not"),
+                                                                   P_("Whether the child's tab should fill the allocated area"),
                                                                    TRUE,
                                                                    GTK_PARAM_READWRITE));
   gtk_container_class_install_child_property (container_class,
@@ -703,7 +703,7 @@ gtk_notebook_class_init (GtkNotebookClass *class)
                                              CHILD_PROP_REORDERABLE,
                                              g_param_spec_boolean ("reorderable",
                                                                    P_("Tab reorderable"),
-                                                                   P_("Whether the tab is reorderable by user action or not"),
+                                                                   P_("Whether the tab is reorderable by user action"),
                                                                    FALSE,
                                                                    GTK_PARAM_READWRITE));
   gtk_container_class_install_child_property (container_class,
index f1e2a19fe07b577a1979d48552f72330fcfdf7f7..e5c2f0dfe29e83f74d68a44dd0ac27c43bd06c67 100644 (file)
@@ -167,7 +167,7 @@ gtk_plug_class_init (GtkPlugClass *class)
                                   PROP_EMBEDDED,
                                   g_param_spec_boolean ("embedded",
                                                         P_("Embedded"),
-                                                        P_("Whether or not the plug is embedded"),
+                                                        P_("Whether the plug is embedded"),
                                                         FALSE,
                                                         GTK_PARAM_READABLE));
 
index ba0d4ecfcbe95188ef57af896d1e548e470e0e14..3b596f50d38d13d825f53efa4d0390ac6e72cc8e 100644 (file)
@@ -329,7 +329,7 @@ gtk_print_unix_dialog_class_init (GtkPrintUnixDialogClass *class)
   g_object_class_install_property (object_class,
                                    PROP_MANUAL_CAPABILITIES,
                                    g_param_spec_flags ("manual-capabilities",
-                                                       P_("Manual Capabilites"),
+                                                       P_("Manual Capabilities"),
                                                        P_("Capabilities the application can handle"),
                                                        GTK_TYPE_PRINT_CAPABILITIES,
                                                        0,
index bea40f5e82d55565eae9444be7b93496a3a292aa..55a3ccee206aec2966588585809bf78cea73f46b 100644 (file)
@@ -178,13 +178,13 @@ gtk_progress_bar_class_init (GtkProgressBarClass *class)
                                                       GTK_PARAM_READWRITE));
   gtk_widget_class_install_style_property (widget_class,
                                            g_param_spec_int ("xspacing",
-                                                             P_("XSpacing"),
+                                                             P_("X spacing"),
                                                              P_("Extra spacing applied to the width of a progress bar."),
                                                              0, G_MAXINT, 7,
                                                              G_PARAM_READWRITE));
   gtk_widget_class_install_style_property (widget_class,
                                            g_param_spec_int ("yspacing",
-                                                             P_("YSpacing"),
+                                                             P_("Y spacing"),
                                                              P_("Extra spacing applied to the height of a progress bar."),
                                                              0, G_MAXINT, 7,
                                                              G_PARAM_READWRITE));
@@ -198,7 +198,7 @@ gtk_progress_bar_class_init (GtkProgressBarClass *class)
    */
   gtk_widget_class_install_style_property (widget_class,
                                            g_param_spec_int ("min-horizontal-bar-width",
-                                                             P_("Min horizontal bar width"),
+                                                             P_("Minimum horizontal bar width"),
                                                              P_("The minimum horizontal width of the progress bar"),
                                                              1, G_MAXINT, MIN_HORIZONTAL_BAR_WIDTH,
                                                              G_PARAM_READWRITE));
@@ -211,7 +211,7 @@ gtk_progress_bar_class_init (GtkProgressBarClass *class)
    */
   gtk_widget_class_install_style_property (widget_class,
                                            g_param_spec_int ("min-horizontal-bar-height",
-                                                             P_("Min horizontal bar height"),
+                                                             P_("Minimum horizontal bar height"),
                                                              P_("Minimum horizontal height of the progress bar"),
                                                              1, G_MAXINT, MIN_HORIZONTAL_BAR_HEIGHT,
                                                              G_PARAM_READWRITE));
@@ -224,7 +224,7 @@ gtk_progress_bar_class_init (GtkProgressBarClass *class)
    */
   gtk_widget_class_install_style_property (widget_class,
                                            g_param_spec_int ("min-vertical-bar-width",
-                                                             P_("Min vertical bar width"),
+                                                             P_("Minimum vertical bar width"),
                                                              P_("The minimum vertical width of the progress bar"),
                                                              1, G_MAXINT, MIN_VERTICAL_BAR_WIDTH,
                                                              G_PARAM_READWRITE));
@@ -237,7 +237,7 @@ gtk_progress_bar_class_init (GtkProgressBarClass *class)
    */
   gtk_widget_class_install_style_property (widget_class,
                                            g_param_spec_int ("min-vertical-bar-height",
-                                                             P_("Min vertical bar height"),
+                                                             P_("Minimum vertical bar height"),
                                                              P_("The minimum vertical height of the progress bar"),
                                                              1, G_MAXINT, MIN_VERTICAL_BAR_HEIGHT,
                                                              G_PARAM_READWRITE));
index 727fa5921a9e23c79b2ffd6508ed5f378c2998df..330f3277cef891d50c2283fad736288f610969ed 100644 (file)
@@ -229,7 +229,7 @@ gtk_spin_button_class_init (GtkSpinButtonClass *class)
                                    PROP_ADJUSTMENT,
                                    g_param_spec_object ("adjustment",
                                                         P_("Adjustment"),
-                                                        P_("The adjustment that holds the value of the spinbutton"),
+                                                        P_("The adjustment that holds the value of the spin button"),
                                                         GTK_TYPE_ADJUSTMENT,
                                                         GTK_PARAM_READWRITE));
   
index 7d6faccf053c22b9d6a766144922d8d2fa31144e..2f040188dc4477a628c9ad73d3f09df76dcf2cd6 100644 (file)
@@ -289,7 +289,7 @@ gtk_status_icon_class_init (GtkStatusIconClass *class)
                                   PROP_BLINKING,
                                   g_param_spec_boolean ("blinking",
                                                         P_("Blinking"),
-                                                        P_("Whether or not the status icon is blinking"),
+                                                        P_("Whether the status icon is blinking"),
                                                         FALSE,
                                                         GTK_PARAM_READWRITE));
 
@@ -297,7 +297,7 @@ gtk_status_icon_class_init (GtkStatusIconClass *class)
                                   PROP_VISIBLE,
                                   g_param_spec_boolean ("visible",
                                                         P_("Visible"),
-                                                        P_("Whether or not the status icon is visible"),
+                                                        P_("Whether the status icon is visible"),
                                                         TRUE,
                                                         GTK_PARAM_READWRITE));
 
@@ -313,7 +313,7 @@ gtk_status_icon_class_init (GtkStatusIconClass *class)
                                   PROP_EMBEDDED,
                                   g_param_spec_boolean ("embedded",
                                                         P_("Embedded"),
-                                                        P_("Whether or not the status icon is embedded"),
+                                                        P_("Whether the status icon is embedded"),
                                                         FALSE,
                                                         GTK_PARAM_READABLE));
 
index 86ec59ba43db6c9bee06011057d2d3fbddd113ed..525d462af02b32a6098c0495b08275b1dae22fb0 100644 (file)
@@ -123,7 +123,7 @@ gtk_toggle_action_class_init (GtkToggleActionClass *klass)
   /**
    * GtkToggleAction:active:
    *
-   * If the toggle action should be active in or not.
+   * Whether the toggle action should be active.
    *
    * Since: 2.10
    */
@@ -131,7 +131,7 @@ gtk_toggle_action_class_init (GtkToggleActionClass *klass)
                                    PROP_ACTIVE,
                                    g_param_spec_boolean ("active",
                                                          P_("Active"),
-                                                         P_("If the toggle action should be active in or not"),
+                                                         P_("Whether the toggle action should be active"),
                                                          FALSE,
                                                          GTK_PARAM_READWRITE));
   /**
index e18edaea7f359d93ced7dbf925d64a73efec7a89..2ea40ac691efd973ebe1c5a797404582e53bcce1 100644 (file)
@@ -113,7 +113,7 @@ gtk_toggle_button_class_init (GtkToggleButtonClass *class)
                                    PROP_ACTIVE,
                                    g_param_spec_boolean ("active",
                                                         P_("Active"),
-                                                        P_("If the toggle button should be pressed in or not"),
+                                                        P_("If the toggle button should be pressed in"),
                                                         FALSE,
                                                         GTK_PARAM_READWRITE));
 
index c632b7b368bb126d574c3e714793cf9d1eff7704..bf6a071a28e9070d07e03f31b286d0096656e45a 100644 (file)
@@ -102,7 +102,7 @@ gtk_toggle_tool_button_class_init (GtkToggleToolButtonClass *klass)
   /**
    * GtkToggleToolButton:active:
    *
-   * If the toggle tool button should be pressed in or not.
+   * If the toggle tool button should be pressed in.
    *
    * Since: 2.8
    */
@@ -110,7 +110,7 @@ gtk_toggle_tool_button_class_init (GtkToggleToolButtonClass *klass)
                                    PROP_ACTIVE,
                                    g_param_spec_boolean ("active",
                                                         P_("Active"),
-                                                        P_("If the toggle button should be pressed in or not"),
+                                                        P_("If the toggle button should be pressed in"),
                                                         FALSE,
                                                         GTK_PARAM_READWRITE));
 
index 8d22c70b55e36251992f37027556e38dcf8c44e3..a859bf2f3b109025fdd94f62995164ee64a79cf2 100644 (file)
@@ -789,7 +789,7 @@ gtk_widget_class_init (GtkWidgetClass *klass)
   /**
    * GtkWidget:double-buffered
    *
-   * Whether or not the widget is double buffered.
+   * Whether the widget is double buffered.
    *
    * Since: 2.18
    */
@@ -797,7 +797,7 @@ gtk_widget_class_init (GtkWidgetClass *klass)
                                    PROP_DOUBLE_BUFFERED,
                                    g_param_spec_boolean ("double-buffered",
                                                          P_("Double Buffered"),
-                                                         P_("Whether or not the widget is double buffered"),
+                                                         P_("Whether the widget is double buffered"),
                                                          TRUE,
                                                          GTK_PARAM_READWRITE));